<?php
if ($admin['admin_password'] == $adminPassword) {
    echo "登录成功。<a href='index.php?c=article_list'>前往文章列表页</a>";
    exit();
} else {
    echo "账户或者密码不匹配。<a href='index.php?c=login'>返回登录页</a>";
    exit();
}